package com.gsnd.briuppts.mapper;

import com.gsnd.briuppts.entity.BaseAccount;
import com.gsnd.briuppts.entity.Do.BaseAccountExtend;
import org.apache.ibatis.annotations.Param;

/**
* @author Chen Feiyu
* @description 针对表【base_account(系统用户)】的数据库操作Mapper
* @createDate 2024-06-22 15:09:22
* @Entity com.gsnd.briuppts.entity.BaseAccount
*/
public interface BaseAccountMapper {
    BaseAccount getAccountByUsernameAndPwd(@Param("username") String username,
                                           @Param("password") String password);

    BaseAccount getAccountById(String accountId);

    BaseAccountExtend getAccountAndRoleByAccountId(String accountId);

}




